import * as types from './ActionTypes.js';
import { createAction } from 'redux-actions';
import {fetchRequest} from '../util/fetch';

//职位详情投递简历
export const SendPostionAction = createAction(types.SEND_POSTION, (data) => {
    return fetchRequest('Postion/sendPostionMob.go', 'POST', data);
});

//收藏的职位投递简历
export const SendPostion_colAction = createAction(types.SEND_POSTION_COL, (data) => {
    return fetchRequest('PostionCollect/sendPostionMob.go', 'POST', data);
});

